package kr.hkit.powerjava.chther04;

import java.util.Scanner;

public class Circlearea {
	public static void main(String[] args) {

		Scanner input = new Scanner(System.in);
		double r;//원
		double pi=3.14;//원의면적
		double area;
		System.out.print("반지름입력하세요 :");
		r = input.nextDouble();

		area = r *r *pi;

		System.out.println("반지름이"+r+"인 원의면적은 "+area+"입니다");
		
	}
}